use utf8;
package MyApp::Schema::Result::RanInto;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

=head1 NAME

MyApp::Schema::Result::RanInto

=cut

use strict;
use warnings;

use base 'DBIx::Class::Core';

=head1 COMPONENTS LOADED

=over 4

=item * L<DBIx::Class::InflateColumn::DateTime>

=back

=cut

__PACKAGE__->load_components("InflateColumn::DateTime");

=head1 TABLE: C<ran_into>

=cut

__PACKAGE__->table("ran_into");

=head1 ACCESSORS

=head2 char_name_fk

  data_type: (empty string)
  is_foreign_key: 1
  is_nullable: 0

=head2 creep_id_fk

  data_type: (empty string)
  is_foreign_key: 1
  is_nullable: 0

=cut

__PACKAGE__->add_columns(
  "char_name_fk",
  { data_type => "", is_foreign_key => 1, is_nullable => 0 },
  "creep_id_fk",
  { data_type => "", is_foreign_key => 1, is_nullable => 0 },
);

=head1 PRIMARY KEY

=over 4

=item * L</char_name_fk>

=item * L</creep_id_fk>

=back

=cut

__PACKAGE__->set_primary_key("char_name_fk", "creep_id_fk");

=head1 RELATIONS

=head2 char_name_fk

Type: belongs_to

Related object: L<MyApp::Schema::Result::CharacterT>

=cut

__PACKAGE__->belongs_to(
  "char_name_fk",
  "MyApp::Schema::Result::CharacterT",
  { char_name => "char_name_fk" },
  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
);

=head2 creep_id_fk

Type: belongs_to

Related object: L<MyApp::Schema::Result::CreepInstantiation>

=cut

__PACKAGE__->belongs_to(
  "creep_id_fk",
  "MyApp::Schema::Result::CreepInstantiation",
  { id => "creep_id_fk" },
  { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
);


# Created by DBIx::Class::Schema::Loader v0.07042 @ 2014-12-22 12:19:04
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:thKZUheDMLSJpt98PzdUPQ


# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;
